<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div id="app">
        <!--style: 非vue指令-->
        <!--<div :style="{width:`100px`,height:`100px`,background:`pink`}"></div>-->
        <!--<div :style="[{width:`100px`},{height:`100px`},{background:`pink`}]"></div>-->
        <div :style="obj"></div>
    </div>
</body>
<script src="./js/vue.js"></script>
<script>

    Vue.config.productionTip = false
    new Vue({
        el:"#app",
        data:{
            obj:[{width:`100px`},{height:`100px`},{background:`gray`}]
        }
    })
</script>
</html>